<?php
class Pageley_Gateway_Database_DataSourceMock implements Pageley_Gateway_Database_DataSource {
    
    public function getConnection() {
        return new Pageley_Gateway_Database_ConnectionMock();
    }
    
    public function getTable($type, $gateway) {
        return new Pageley_Gateway_Database_TableMock();
    }
    
    public function decorateQuery($query, $table) {
        return $query;
    }
    
    public function getCachePath() {
        return "/tmp/cache";
    }
}